package com.wssnail.oss.myenum;

/**
 * @Author: 熟透的蜗牛
 * @CreateTime: 2022-07-11  14:42
 * @Description: 上传图片的枚举类
 * @Version: 1.0
 */
public enum FileEnum {
    SUCCESS(200,"文件操作成功"),
    EMPTY_FILE(6000,"文件为空"),
    FILE_TYPE_ERROR(6001,"不支持当前的文件格式"),
    FAIL(500,"文件操作失败");

    Integer code;
    String msg;

    FileEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
